package com.rxjava.network.api;

import com.rxjava.model.TokenInfo;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface LoginApi {
    @POST("token")
    Observable<TokenInfo> login(@Body RequestBody requestBody);
}
